package com.fxd.feigns;

import com.fxd.common.vo.SkuHasStockVo;
import com.fxd.core.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("shopping-ware")
public interface WareFeign {

    @PostMapping("/ware/waresku/has/stock")
    R<List<SkuHasStockVo>> getSkusHasStock(@RequestBody List<Long> skuIds);

}
